node_array = document.getElementById("blocklist::0-whatsNewView:::::CO").childNodes;
for(var i = 0; i < node_array.length; i++)
{
    id = node_array[i].id.slice(16); // cut the 0-whatsNewView:: part
    content_id = notification_controller.getNotification(id).sourceId;
    course_id = "_" + notification_controller.getNotification(id).courseId + "_1";
    url = "http://elearning.szu.edu.cn/webapps/blackboard/execute/content/file?cmd=view&content_id=" + content_id + "&course_id=" + course_id + "&launch_in_new=true";
    window.open(url);
}
console.log(node_array.length);